package routers

import (
	"chinasoccer/apis/supplier"

	"github.com/gin-gonic/gin"
)

func SupplierRouter(r *gin.RouterGroup) {
	r.GET("/supplier", supplier.GetAllSuppliers)
	r.POST("/supplier", supplier.AddSupplier)
	r.PUT("/supplier", supplier.UpdateSupplier)
	r.DELETE("/supplier/:id", supplier.DelSupplier)
}
